﻿;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; SURRENDER #2 (Force the surrender of a country on a given date)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; USAGE:
;
; Basic structure for a surrender event:
; { 
; #NAME= Event name (this will be shown as a selectable event under an OPTIONS screen within the game)
; #POPUP= Event popup text (this will be displayed when the event occurs)
; #IMAGE= Event image that will be displayed when event occurs
;         PNG images must be 736x418 or 368x418 pixels, see 'Extras' folder for sample images and frames
;         Multiple pictures can be used by using a ',' to separate them
;         Format: picture1.png, picture2.png, picture3.png, picture4.png
; #SOUND= Event sound that will be displayed when event occurs
;         Multiple sounds can be used by using a ',' to separate them
;         Format: sound1.mp3, sound2.mp3, sound3.mp3, sound4.mp3
; #FLAG= Will this be a default event for the campaign? (values range [0, 1]; True= 1; False= 0)
; #TYPE= Values range [0, 3];
;        With all other fields satisfied will this be:
;        0 = Single check regardless if #TRIGGER is satisfied
;        1 = Multiple check until #TRIGGER is satisfied
;        2 = Reoccuring check until end of game
;                       OR
;        Once the #DATE field is satisfied:
;        3 = Event fires once if all other fields are satisfied, else it will not fire.  Either way, event will be removed never to be looked at again
; #AI= Values range [0, 4]
;      0 = Event fires whenever all fields are satisfied for any game type
;      1 = Event fires whenever all fields are satisfied, for AI games only, and only on the Union AI turn
;      2 = Event fires whenever all fields are satisfied, for AI games only, and only on the Confederates AI turn
;      3 = Event fires whenever all fields are satisfied, for AI and Multiplayer games only, and only on the Union AI or on the Confederates Multiplayer turns
;      4 = Event fires whenever all fields are satisfied, for AI and Multiplayer games only, and only on the Confederates AI or on the Union Multiplayer turns
; #LEVEL= What minimum skill level, as selected from the AI difficulty level screen in game, with this event apply to?
;         Values: [0, 4]; Green= 0; Novice= 1; Intermediate= 2; Veteran= 3; Expert= 4
; #GV= Does the event activate based on the Global Variable values assigned?
;      Ten random Global Variables are assigned at the start of the campaign each with a value between [1,100]
;      Format: GV [min, max]; GV range [1,10]; min range [1,100]; max range [1,100]
;      Example A) #GV= 1[1,100] will always trigger because Global Variable #1 will always have a value between [1,100]
;      Example B) #GV= 4[71,100] will trigger 30% per game
; #LINK= Does the event activate based on the Link values assigned?
;        A campaign can have up to 1100 Decision events and is referenced by other events via this parameter
;        Format: decision[flag]; flag range [0, 1]; True= 1; False= 0
;        Example A) #LINK= 0[0] will always trigger as formal DECISION events can only be from 1-1100
;        Example B) #LINK= 1[0] will trigger whenever #DECISION= 1 is not accepted
;        Example C) #LINK= 3[1] will trigger whenever #DECISION= 3 is accepted
; #TRIGGER= Trigger percentage that the event will occur (values range [0, 100])
; #COUNTRY_ID= Surrendering country's ID
; #RECIPIENT_ID= Recipient country ID (country that will receive control of the territory of COUNTRY ID upon surrender)
; #ARMISTICE= Will this be an armistice event rather than a full surrender? (values range [0, 1]; False=0; True=1; True_and_have_Minor_switch_sides=2)
; #REMOVE= Remove units when there is an armistice? (values range [0, 3]; None=0; Land=1; Naval=2; All=3)
; #DATE= Date that must be satisfied (in game) for event to occur (format yyyy/mm/dd)
; #VARIABLE_CONDITION= Under what variable conditions will this event occur
;                      Format: country_id [political_alignment] [mobilization%] [surrendered_flag]
; #CONDITION_POSITION= Map positions that will serve to trigger the event as well as distance and
;                      number of Union/Confederates unit ranges as specified by 'alignment' flag
;                      Format: x,y [min_range, max_range] [min_units, max_units] [alignment] [aligned_country_id]
; }
;
; NOTES:
;
; Each event must be preceded by a '{' and end with a '}'
;
; Under #VARIABLE_CONDITION you can also list countries that have not yet fully entered the war.
; For example by listing an mobilization % less than 100% you are providing a check where the
; #VARIABLE_CONDITION country must meet a minimum mobilization % in order for the event to occur.
; Each #VARIABLE_CONDITION line will be read using AND logic.
;
; More than one #CONDITION_POSITION can be set. Distance or range checks will be based on the
; specified x,y position. For example if the x,y position is a coastal hex then range checks will
; be made on sea hexes, otherwise if it is a land hex range checks will be made on land hexes only.
; If the 'aligned_country_id' flag is set to 0 then it will check for any Union or Confederates country as
; determined by the alignment flag.
; Each #CONDITION_POSITION line will be read using AND logic.
;
; If #CONDITION_POSITION has an added <unit_id, ...> then it will only consider the specified UNIT_ID types, e.g.
; Union have an Army or Tank unit within 10 hexes of Warsaw
; #CONDITION_POSITION= 188,76 [10,10] [1,1] [1] [0] <5,26>
;
; Use the reference values provided for #COUNTRY_ID and #RECIPIENT_ID and not the country names.
; Use the reference values provided for POLITICAL ALIGNMENT and not names.
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; COUNTRY ID REFERENCE VALUES
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Country IDs
; #COUNTRY_ID_1= Alabama
; #COUNTRY_ID_2= Alaska
; #COUNTRY_ID_3= Arizona
; #COUNTRY_ID_4= Arkansas
; #COUNTRY_ID_5= California
; #COUNTRY_ID_6= Colorado
; #COUNTRY_ID_7= Connecticut
; #COUNTRY_ID_8= Delaware
; #COUNTRY_ID_9= Florida
; #COUNTRY_ID_10= Georgia
; #COUNTRY_ID_11= Hawaii
; #COUNTRY_ID_12= Idaho
; #COUNTRY_ID_13= Illinois
; #COUNTRY_ID_14= Indiana
; #COUNTRY_ID_15= Iowa
; #COUNTRY_ID_16= Kansas
; #COUNTRY_ID_17= Kentucky
; #COUNTRY_ID_18= Louisiana
; #COUNTRY_ID_19= Maine
; #COUNTRY_ID_20= Maryland
; #COUNTRY_ID_21= Massachusetts
; #COUNTRY_ID_22= Michigan
; #COUNTRY_ID_23= Minnesota
; #COUNTRY_ID_24= Mississippi
; #COUNTRY_ID_25= Missouri
; #COUNTRY_ID_26= Montana
; #COUNTRY_ID_27= Nebraska
; #COUNTRY_ID_28= Nevada
; #COUNTRY_ID_29= New Hampshire
; #COUNTRY_ID_30= New Jersey
; #COUNTRY_ID_31= New Mexico
; #COUNTRY_ID_32= New York
; #COUNTRY_ID_33= North Carolina
; #COUNTRY_ID_34= North Dakota
; #COUNTRY_ID_35= Ohio
; #COUNTRY_ID_36= Oklahoma
; #COUNTRY_ID_37= Oregon
; #COUNTRY_ID_38= Pennsylvania
; #COUNTRY_ID_39= Rhode Island
; #COUNTRY_ID_40= South Carolina
; #COUNTRY_ID_41= South Dakota
; #COUNTRY_ID_42= Tennessee
; #COUNTRY_ID_43= Texas
; #COUNTRY_ID_44= Utah
; #COUNTRY_ID_45= Vermont
; #COUNTRY_ID_46= Virginia
; #COUNTRY_ID_47= Washington
; #COUNTRY_ID_48= West Virginia
; #COUNTRY_ID_49= Wisconsin
; #COUNTRY_ID_50= Wyoming
; #COUNTRY_ID_51= Apache
; #COUNTRY_ID_52= Argentina
; #COUNTRY_ID_53= Austria
; #COUNTRY_ID_54= Bolivia
; #COUNTRY_ID_55= Brazil
; #COUNTRY_ID_56= Canada
; #COUNTRY_ID_57= Cherokee
; #COUNTRY_ID_58= Chickasaw
; #COUNTRY_ID_59= Chile
; #COUNTRY_ID_60= China
; #COUNTRY_ID_61= Choctaw
; #COUNTRY_ID_62= Colombia
; #COUNTRY_ID_63= Commanche
; #COUNTRY_ID_64= Confederacy
; #COUNTRY_ID_65= Costa Rica
; #COUNTRY_ID_66= Creek
; #COUNTRY_ID_67= Cuba
; #COUNTRY_ID_68= Denmark
; #COUNTRY_ID_69= Deseret
; #COUNTRY_ID_70= Dominican Republic
; #COUNTRY_ID_71= Ecuador
; #COUNTRY_ID_72= El Salvador
; #COUNTRY_ID_73= France
; #COUNTRY_ID_74= Germany
; #COUNTRY_ID_75= Guatemala
; #COUNTRY_ID_76= Haiti
; #COUNTRY_ID_77= Honduras
; #COUNTRY_ID_78= Italy
; #COUNTRY_ID_79= Japan
; #COUNTRY_ID_80= Japanese Shogunate
; #COUNTRY_ID_81= Liberia
; #COUNTRY_ID_82= Mexican Empire
; #COUNTRY_ID_83= Mexico
; #COUNTRY_ID_84= Navajo
; #COUNTRY_ID_85= Netherlands
; #COUNTRY_ID_86= Nicaragua
; #COUNTRY_ID_87= Osage
; #COUNTRY_ID_88= Ottomans
; #COUNTRY_ID_89= Panama
; #COUNTRY_ID_90= Paraguay
; #COUNTRY_ID_91= Peru
; #COUNTRY_ID_92= Philippines
; #COUNTRY_ID_93= Portugal
; #COUNTRY_ID_94= Prussia
; #COUNTRY_ID_95= Pueblo
; #COUNTRY_ID_96= Puerto Rico
; #COUNTRY_ID_97= Rio Grande
; #COUNTRY_ID_98= Russia
; #COUNTRY_ID_99= Seminole
; #COUNTRY_ID_100= Spain
; #COUNTRY_ID_101= Sweden
; #COUNTRY_ID_102= UK
; #COUNTRY_ID_103= Union
; #COUNTRY_ID_104= Uruguay
; #COUNTRY_ID_105= USCA
; #COUNTRY_ID_106= Venezuela
; #COUNTRY_ID_107= Yucatan
; #COUNTRY_ID_108= 
; #COUNTRY_ID_109= 
; #COUNTRY_ID_110= 
; #COUNTRY_ID_111= Blockade Runners
; #COUNTRY_ID_112= Blockade Runners
; #COUNTRY_ID_113= Blockade Runners
; #COUNTRY_ID_114= Blockade Runners
; #COUNTRY_ID_115= Blockade Runners
; #COUNTRY_ID_116= Blockade Runners
; #COUNTRY_ID_117= Blockade Runners
; #COUNTRY_ID_118= Blockade Runners
; #COUNTRY_ID_119= Red
; #COUNTRY_ID_120= Black
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; UNIT ID REFERENCE VALUES
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; #UNIT_ID_0= HQ
; #UNIT_ID_1= Garrison
; #UNIT_ID_2= Brigade
; #UNIT_ID_3= Division
; #UNIT_ID_4= Corps
; #UNIT_ID_5= Army
; #UNIT_ID_6= Mechanized
; #UNIT_ID_7= Special Forces
; #UNIT_ID_8= Engineers
; #UNIT_ID_9= Paratroops
; #UNIT_ID_10= Cavalry Brigade
; #UNIT_ID_11= Cavalry Division
; #UNIT_ID_12= Cavalry Corps
; #UNIT_ID_13= Partisans
; #UNIT_ID_14= Pillbox
; #UNIT_ID_15= Anti-Air
; #UNIT_ID_16= Rocket Artillery
; #UNIT_ID_17= Artillery
; #UNIT_ID_18= Heavy Artillery
; #UNIT_ID_19= Rail Gun
; #UNIT_ID_20= Coastal Gun
; #UNIT_ID_21= Rockets
; #UNIT_ID_22= Reconnaissance
; #UNIT_ID_23= Armored Train
; #UNIT_ID_24= Anti-Tank
; #UNIT_ID_25= Light Tanks
; #UNIT_ID_26= Tanks
; #UNIT_ID_27= Heavy Tanks
; #UNIT_ID_28= Airships
; #UNIT_ID_29= Fighters
; #UNIT_ID_30= Tactical Bombers
; #UNIT_ID_31= Medium Bombers
; #UNIT_ID_32= Strategic Bombers
; #UNIT_ID_33= Maritime Bombers
; #UNIT_ID_34= Kamikazes
; #UNIT_ID_35= Dreadnought
; #UNIT_ID_36= Battleship
; #UNIT_ID_37= Battle Cruiser
; #UNIT_ID_38= Heavy Cruiser
; #UNIT_ID_39= Light Cruiser
; #UNIT_ID_40= Destroyer
; #UNIT_ID_41= Escort Carrier
; #UNIT_ID_42= Carrier
; #UNIT_ID_43= Sub
; #UNIT_ID_44= Motor Torpedo Boat
; #UNIT_ID_45= Mulberry
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; POLITICAL ALIGNMENT/DIRECTION REFERENCE VALUES
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; NEUTRAL= 0
; AXIS= 1
; ALLIED= 2
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; SURRENDERED FLAG REFERENCE VALUES
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; NOT_SURRENDERED= 0
; SURRENDERED= 1
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

{
#NAME= MSG Surrenders (Union AI)
#POPUP= <<TAG_7>> 
#IMAGE= 
#SOUND= cavalry_movement1.ogg
#FLAG= 1
#TYPE= 1
#AI= 1
#GV= 1[1,100]
#LINK= 501[1]
#LEVEL= 0
#COUNTRY_ID= 25
#RECIPIENT_ID= 103
#ARMISTICE= 0
#REMOVE= 0
#TRIGGER= 100
#DATE= 1861/07/13
; Set variable conditions:
; 1st Line - Union politically aligned with Union and not surrendered
; 2nd Line - MSG still in war, CS side
#VARIABLE_CONDITION= 103 [1] [100] [0]
#VARIABLE_CONDITION= 25 [2] [100] [0]
; dummy condition position (always satisfied) - one Union unit within 1 hex of Jefferson City
#CONDITION_POSITION= 83,72 [1,1] [1,1] [1] [0]
}

{
#NAME= Battle of Apache Pass
#POPUP= <<TAG_1>> 
#IMAGE= 
#SOUND= cavalry_attack.ogg
#FLAG= 1
#TYPE= 1
#AI= 0
#GV= 1[1,100]
#LINK= 21[1]
#LEVEL= 0
#COUNTRY_ID= 51
#RECIPIENT_ID= 103
#ARMISTICE= 0
#REMOVE= 3
#TRIGGER= 100
#DATE= 1862/07/15
; Set variable conditions:
; 1st Line - Union politically aligned with Union and not surrendered
#VARIABLE_CONDITION= 103 [1] [100] [0]
; dummy condition position (always satisfied)
#CONDITION_POSITION= 0,0 [0,0] [0,0] [0] [0]
}

{
#NAME= Creek Switches Sides (DE 511)
#POPUP= <<TAG_2>>
#IMAGE=
#SOUND= cavalry_attack.ogg
#FLAG= 1
#TYPE= 0
#AI= 0
#GV= 1[1,100]
#LINK= 511[1]
#LEVEL= 0
#COUNTRY_ID= 66
#RECIPIENT_ID= 66
#ARMISTICE= 2
#REMOVE= 1
#TRIGGER= 20
#DATE= 1861/04/12
; Set variable conditions:
; 1st Line - Creek politically aligned with Confederates and not surrendered
#VARIABLE_CONDITION= 66 [2] [100] [0]
; dummy condition
#CONDITION_POSITION= 0,0 [0,0] [0,0] [0] [0]
}

{
#NAME= UK Withdraws from the War
#POPUP= <<TAG_3>>
#IMAGE=
#SOUND= liberation.ogg
#FLAG= 1
#TYPE= 1
#AI= 0
#GV= 1[1,100]
#LINK= 200[1]
#LEVEL= 0
#COUNTRY_ID= 102
#RECIPIENT_ID= 102
#ARMISTICE= 1
#REMOVE= 3
#TRIGGER= 100
#DATE= 1861/04/12
; Set variable conditions:
; 1st Line - Union politically aligned with Union and not surrendered
#VARIABLE_CONDITION= 103 [1] [100] [0]
; dummy condition
#CONDITION_POSITION= 0,0 [0,0] [0,0] [0] [0]
}

{
#NAME= France Withdraws from the War
#POPUP= <<TAG_4>>
#IMAGE=
#SOUND= liberation.ogg
#FLAG= 1
#TYPE= 1
#AI= 0
#GV= 1[1,100]
#LINK= 300[1]
#LEVEL= 0
#COUNTRY_ID= 73
#RECIPIENT_ID= 73
#ARMISTICE= 1
#REMOVE= 3
#TRIGGER= 100
#DATE= 1861/04/12
; Set variable conditions:
; 1st Line - Union politically aligned with Union and not surrendered
#VARIABLE_CONDITION= 103 [1] [100] [0]
; dummy condition
#CONDITION_POSITION= 0,0 [0,0] [0,0] [0] [0]
}

{
#NAME= Mexican Empire Surrenders
#POPUP= <<TAG_5>>
#IMAGE=
#SOUND= liberation.ogg
#FLAG= 1
#TYPE= 1
#AI= 0
#GV= 1[1,100]
#LINK= 300[1]
#LEVEL= 0
#COUNTRY_ID= 82
#RECIPIENT_ID= 83
#ARMISTICE= 0
#REMOVE= 3
#TRIGGER= 100
#DATE= 1861/04/12
; Set variable conditions:
; 1st Line - Union politically aligned with Union and not surrendered
#VARIABLE_CONDITION= 103 [1] [100] [0]
#VARIABLE_CONDITION= 83 [1] [100] [0]
#VARIABLE_CONDITION= 82 [2] [100] [0]
; dummy condition
#CONDITION_POSITION= 0,0 [0,0] [0,0] [0] [0]
}

{
#NAME= Spain Withdraws from the War
#POPUP= <<TAG_6>>
#IMAGE=
#SOUND= liberation.ogg
#FLAG= 1
#TYPE= 1
#AI= 0
#GV= 1[1,100]
#LINK= 400[1]
#LEVEL= 0
#COUNTRY_ID= 100
#RECIPIENT_ID= 100
#ARMISTICE= 1
#REMOVE= 3
#TRIGGER= 100
#DATE= 1861/04/12
; Set variable conditions:
; 1st Line - Union politically aligned with Union and not surrendered
#VARIABLE_CONDITION= 103 [1] [100] [0]
; dummy condition
#CONDITION_POSITION= 0,0 [0,0] [0,0] [0] [0]
}